package com.account.book.service;

import com.account.book.request.MessageReqVo;
import com.account.book.response.DetailMessageResVo;
import com.account.book.response.ListMessageResVo;
import com.account.book.response.MainMessageResVo;
import com.account.book.response.TabsMessageResVo;

import java.util.List;

public interface MessageService {
    /**
     * @param @param type
     * @return @return {@link List }<{@link String }>
     * @author liang-hw
     * @description 获取tabs列表
     * @date 2024/01/13 16:38:35
     */
    List<TabsMessageResVo> listTabs();

    /**
     * @param @param tabId
     * @return @return {@link List }<{@link MainMessageResVo }>
     * @author liang-hw
     * @description 获取轮播列表
     * @date 2024/01/13 18:16:53
     */
    List<MainMessageResVo> getMainMessage(String tabId);

    /**
     * @param @param tabId
     * @return @return {@link List }<{@link ListMessageResVo }>
     * @author liang-hw
     * @description 获取列表
     * @date 2024/01/13 18:18:13
     */
    List<ListMessageResVo> getListMessage(MessageReqVo messageReqVo);

    /**
     * @param @param messageReqVo
     * @return
     * @author liang-hw
     * @description 更新列表
     * @date 2024/01/13 19:08:30
     */
    void addListMessage(MessageReqVo messageReqVo);

    /**
     * @param @param tabId
     * @return @return {@link List }<{@link DetailMessageResVo }>
     * @author liang-hw
     * @description 获取列表详情
     * @date 2024/01/13 18:21:19
     */
    DetailMessageResVo getDetailMessage(String listId);
}
